From 6d55b9c049cc654d601763c35f83c448fa21b32e Mon Sep 17 00:00:00 2001 From: Jimi Xenidis Date: Tue, 28 Nov 2006 17:01:00 -0500 Subject: [PATCH] [XEN][POWERPC] Do not override smp function call wait flag Do not override the caller's wishes regarding waiting for smp function call completion. I was being too conservative in this respect: the lock protects the call_data structure, and the function called is expected to be threadsafe. Signed-off-by: Amos Waterland Signed-off-by: Jimi Xenidis Signed-off-by: Hollis Blanchard --HG-- extra : transplant_source : %E0%1E%08%CAb%9BO%15H%28%B0%97jX%DF%87gU%8A%EC --- xen/arch/powerpc/smp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/powerpc/smp.c b/xen/arch/powerpc/smp.c index 090b86076e..3d06b9afa0 100644 --- a/xen/arch/powerpc/smp.c +++ b/xen/arch/powerpc/smp.c @@ -97,7 +97,6 @@ int on_selected_cpus( call_data.func = func; call_data.info = info; call_data.wait = wait; - call_data.wait = 1; /* Until we get RCU around call_data. */ atomic_set(&call_data.started, 0); atomic_set(&call_data.finished, 0); mb(); -- 2.30.2